﻿using System.Runtime.Serialization;

namespace LiveTissWCF.Data
{
    [KnownType(typeof(Login))]
    [KnownType(typeof(ClinicaHospital))]
    [KnownType(typeof(Profissional))]
    [DataContract(Name = "Prestador", Namespace = "LiveTissWCF.Data")]
    public class Prestador
    {

        [DataMember]
        public Login LoginPrestador { set; get; }

        [DataMember]
        public ClinicaHospital ClinicaPrestador { set; get; }

        [DataMember]
        public Profissional ProfissionalPrestador { set; get; }


        [DataMember]
        public int ID { get; set; }

        [DataMember]
        public string Nome { get; set; }

        [DataMember]
        public string TipoLogradouro { get; set; }

        [DataMember]
        public string Logradouro { get; set; }

        [DataMember]
        public string Numero { get; set; }

        [DataMember]
        public string Complemento { get; set; }

        [DataMember]
        public string CodigoIBGE { get; set; }

        [DataMember]
        public string Municipio { get; set; }

        [DataMember]
        public string CodigoUF { get; set; }

        [DataMember]
        public string CEP { get; set; }
    }
}
